<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <!--
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Actual_duration')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-actual_duration" data-rule="required" class="form-control" name="row[actual_duration]" type="number" value="{$row.actual_duration|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Actual_calc_duration')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-actual_calc_duration" data-rule="required" class="form-control" name="row[actual_calc_duration]" type="number" value="{$row.actual_calc_duration|htmlentities}">
        </div>
    </div>
    -->
    {if $row.salary_mode == 'stage'}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('场次')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input style="width:200px" id="c-actual_calc_duration" class="form-control " name="row[actual_calc_duration]" value="{$row.actual_calc_duration|htmlentities}" type="number">
        </div>
    </div>
    {else/}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('首次打卡时间')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input style="width:200px" id="c-clock_in" class="form-control datetimepicker" data-date-format="HH:mm"  name="row[clock_in]" value="{$row.clock_in|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('末次打卡时间')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input style="width:200px" id="c-clock_out" class="form-control datetimepicker" data-date-format="HH:mm"  name="row[clock_out]" value="{$row.clock_out|htmlentities}">
        </div>
    </div>
    {/if}
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
